<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
            <%@taglib uri="/simpleitcast" prefix="itcast" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>如果标签接受的是一个复杂类型，如何给其复制</title>
</head>
<body>
<%Date date=new Date();
request.setAttribute("date", date);

%>
<itcast:demo6 date="${date }"></itcast:demo6>
</body>
</html>